home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
pj64.arc
/
L4.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-12-16
|
471b
|
39 lines
; *** Listing 4 ***
;
; Sample code to illustrate various approaches to generating local
; symbols within REPT loops that don't seem to work with MASM 5.0.
;
dosseg
.model small
.code
mac1 macro
rept 10
local testlabel
jmp testlabel
testlabel:
endm
endm
mac2 macro
local testlabel
rept 10
jmp testlabel
testlabel:
endm
endm
start:
mac1
mac2
rept 10
local testlabel
jmp testlabel
testlabel:
endm
end start